package com.kd.bean;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

@TableName(value="blogs")
public class Blogs {
	@TableId(value="blogs_id",type=IdType.AUTO)
	private Integer blogs_id;
	private String blogs_name;
	private String blogs_title;
	private String blogs_content;
	private String blogs_attention;
	private Integer user_id;
	public Blogs() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Blogs(Integer blogs_id, String blogs_name, String blogs_title, String blogs_content, String blogs_attention,
			Integer user_id) {
		super();
		this.blogs_id = blogs_id;
		this.blogs_name = blogs_name;
		this.blogs_title = blogs_title;
		this.blogs_content = blogs_content;
		this.blogs_attention = blogs_attention;
		this.user_id = user_id;
	}
	public Integer getBlogs_id() {
		return blogs_id;
	}
	public void setBlogs_id(Integer blogs_id) {
		this.blogs_id = blogs_id;
	}
	public String getBlogs_name() {
		return blogs_name;
	}
	public void setBlogs_name(String blogs_name) {
		this.blogs_name = blogs_name;
	}
	public String getBlogs_title() {
		return blogs_title;
	}
	public void setBlogs_title(String blogs_title) {
		this.blogs_title = blogs_title;
	}
	public String getBlogs_content() {
		return blogs_content;
	}
	public void setBlogs_content(String blogs_content) {
		this.blogs_content = blogs_content;
	}
	public String getBlogs_attention() {
		return blogs_attention;
	}
	public void setBlogs_attention(String blogs_attention) {
		this.blogs_attention = blogs_attention;
	}
	public Integer getUser_id() {
		return user_id;
	}
	public void setUser_id(Integer user_id) {
		this.user_id = user_id;
	}
	@Override
	public String toString() {
		return "Blogs [blogs_id=" + blogs_id + ", blogs_name=" + blogs_name + ", blogs_title=" + blogs_title
				+ ", blogs_content=" + blogs_content + ", blogs_attention=" + blogs_attention + ", user_id=" + user_id
				+ "]";
	}
	
}
